package com.glp.work.flow.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.glp.work.flow.pojo.WfPlatformDef;
import com.glp.work.flow.request.PageDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class ProcessAndModelVo {
    private String ModelId;//模型id
    private String name;
    private String key;//流程编号
    private String category;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdateTime;
    private Integer version = 1;
    private String metaInfo;
    private String description;
    private String deploymentId;
    private String editorSourceValueId;
    private String editorSourceExtraValueId;
    private String tenantId = "";
    String processId;
    String resourceName;
    String diagramResourceName;
    Integer suspensionState;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    Date deploymentTime;
    Integer nodeNum;//节点数
    private int commissionCount;//代办数
    private int haveDownCount;//已办数
    private List<WfPlatformDef> wfPlatformDefs=new ArrayList<>();//授权应用
    private int wfPlatformDefsCount;//授权应用数量
    @ApiModelProperty(value="对应的消息队列")
    private String mqKey;
    private String avgTime;//平均耗时
    private String operation;

    private String createUserId;

    private String updateUserId;

    private String createUserName;

    private String updateUserName;

    private Date updateTime;

}
